#pragma once


#include "GridCtrl/GridCtrl.h"
#include "RealObject/Provider.h"
// CEditInputView form view

class CEditInputView : public CView
{
	DECLARE_DYNCREATE(CEditInputView)

public:
	CEditInputView();           // protected constructor used by dynamic creation
	virtual ~CEditInputView();

public:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
#ifdef _DEBUG
	virtual void AssertValid() const;
#ifndef _WIN32_WCE
	virtual void Dump(CDumpContext& dc) const;
#endif
#endif
protected:
	
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int	  OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void  OnSize(UINT nType, int cx, int cy);
	afx_msg void  OnBnClickedApply();
	afx_msg void  OnExportExcel();
	void initListProduct();
	int  getRowHaveCodeProduct(CString sCode);
public:
	CGridCtrl m_GridCEditInputView;
	CGridCtrl m_GridCEditAccsory;
	CEdit* pEditCode;

	
};


